home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
windows
/
cf600.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-02-04
|
4KB
|
120 lines
echo off
cls
if '%1'=='' goto NeedDrive
if not exist cmfiler.com goto WrongDir
if exist cmfiler.ovy goto RightDir
:NeedDrive
echo You must specify the drive letter into which to install CMFiler; e.g.
echo.
echo INSTALL C
echo.
echo Do not include a colon after the drive letter. Please try again.
echo.
goto TheEnd
:WrongDir
echo INSTALL.BAT is unable to find CMFiler program files
echo.
echo Make sure that all the files from the original CF600.ZIP, CF600.EXE
echo or CMFILE.ZIP compression are in the same directory, and that that
echo directory is selected as the DOS current directory before running
echo INSTALL.BAT.
echo.
pause
goto TheEnd
:RightDir
echo ***** CMFiler Ver 6.00 Installation *****
echo.
if not exist %1:\DOS\CHOICE.COM then goto InstallNow
echo This batch file creates the directory %1:\CF600 and copies to it
echo the files in the CMFiler Ver 6.00 fileset.
echo.
%1:\DOS\CHOICE.COM Proceed with installation
if errorlevel 2 goto TheEnd
:InstallNow
cls
echo Installing CMFiler Ver 6.00 to %1:\CF600
echo.
echo Creating %1:\CF600
echo.
md %1:\cf600
copy cf.bat %1:\cf600\cf.bat
if not exist %1:\cf600\cf.bat goto FailDir
echo Copying files. . .
echo.
copy *.* %1:\cf600
echo Copying CF.BAT to %1:\
copy cf.bat %1:\
echo.
echo To run CMFiler at the DOS prompt, you may:
echo.
echo (1) type:
echo %1:\CF600\CMFILER
echo.
echo or;
echo.
echo (2) just type:
echo CF
echo.
pause
cls
echo The files in the directory CF600 include CMFILER.PIF and CMFILER.ICO
echo files for running CMFiler under Windows 3.1 or Windows 95.
echo.
pause
echo For Windows 3.1:
echo.
echo To add CMFiler to a program group, go to the Windows Program Manager, and
echo double click on the desired group. Then, in the Program Manager menu bar,
echo click on File, and New... Then click the Program Item bullet, if
echo necessary, and OK.
echo.
echo Fill in the data in the next menu as follows, moving the cursor from
echo each line to the next using your mouse and clicking:
echo.
echo Description: CMFiler
echo Command Line: %1:\CF600\CMFILER.PIF
echo Working Directory: %1:\ [or whatever you would like CMFiler to start in]
echo Shortcut Key: [Optional. I use Ctrl+Alt+C]
echo Also decide if you want CMFiler to start minimized. I leave this off.
echo.
echo Then click on the Change Icon... button. Windows will tell you there are
echo no available icons for this file. Click OK, then, on the File Name line
echo in the next menu, type %1:\CF600\CMFILER.ICO and click on OK twice.
echo The CMFiler icon should appear in the CMFiler Properties box.
echo Click OK on the Program Item Properties menu, and the CMFiler icon should
echo appear in the program group. Just double click on it to run.
echo.
pause
cls
echo For Windows 95:
echo.
echo To add CMFiler to a program folder as a shortcut, click on Start,
echo go to Settings and click on Taskbar... Click on the
echo Start Menu Programs tab, click on Add, type in %1:\CF600\CMFILER.PIF
echo and click on Next.
echo.
echo Select a folder to put the CMFiler shortcut into and click on Next.
echo If you want CMFiler on your desktop when Windows 95 starts up, click on
echo the folder Desktop. If you want Windows 95 to start up with
echo CMFiler already running, click on the Startup folder. Otherwise,
echo pick an appropriate folder in Programs to put it in.
echo.
echo Select a name for the shortcut (CMFiler will probably be the default),
echo and click OK.
echo.
pause
goto TheEnd
:FailDir
echo.
echo Unable to create %1:\CF600. Please specify another drive.
echo.
echo on
:TheEnd
echo.
echo on